package com.bifrost.entity;

import javax.persistence.*;

/**
 * @author rangf
 * @date 2018/2/27
 */
@Entity
@Table(name = "SAP_STORE_GOODS",indexes = {
        @Index(name = "MATNR_LOCNR_INDEX",columnList = "MATNR,LOCNR",unique = true)
})
public class SapStoreGoods {
    private String matnr;
    private String locnr;
    private String prwog;
    private String prwug;
    private String dismm;
    private String sernp;
    private String consProcg;
    private String mmsta;
    private String mtvfp;
    private String prerf;
    private String rbzul;
    private String kwdht;
    private String lifnrZy;
    private String scagr;
    private String zztjj;
    private String zzsfcs;
    private String alBomMatnr;
    private String alBomQuant;
    private String alBomUnit;
    private String dstatus;
    private String ddate;
    private Long id;

    public SapStoreGoods() {

    }

    public SapStoreGoods(String consProcg) {
        this.consProcg = consProcg;
    }

    @Basic
    @Column(name = "MATNR", nullable = true, length = 18)
    public String getMatnr() {
        return matnr;
    }

    public void setMatnr(String matnr) {
        this.matnr = matnr;
    }

    @Basic
    @Column(name = "LOCNR", nullable = true, length = 10)
    public String getLocnr() {
        return locnr;
    }

    public void setLocnr(String locnr) {
        this.locnr = locnr;
    }

    @Basic
    @Column(name = "PRWOG", nullable = true, length = 18)
    public String getPrwog() {
        return prwog;
    }

    public void setPrwog(String prwog) {
        this.prwog = prwog;
    }

    @Basic
    @Column(name = "PRWUG", nullable = true, length = 18)
    public String getPrwug() {
        return prwug;
    }

    public void setPrwug(String prwug) {
        this.prwug = prwug;
    }

    @Basic
    @Column(name = "DISMM", nullable = true, length = 2)
    public String getDismm() {
        return dismm;
    }

    public void setDismm(String dismm) {
        this.dismm = dismm;
    }

    @Basic
    @Column(name = "SERNP", nullable = true, length = 4)
    public String getSernp() {
        return sernp;
    }

    public void setSernp(String sernp) {
        this.sernp = sernp;
    }

    @Basic
    @Column(name = "CONS_PROCG", nullable = true, length = 1)
    public String getConsProcg() {
        return consProcg;
    }

    public void setConsProcg(String consProcg) {
        this.consProcg = consProcg;
    }

    @Basic
    @Column(name = "MMSTA", nullable = true, length = 2)
    public String getMmsta() {
        return mmsta;
    }

    public void setMmsta(String mmsta) {
        this.mmsta = mmsta;
    }

    @Basic
    @Column(name = "MTVFP", nullable = true, length = 2)
    public String getMtvfp() {
        return mtvfp;
    }

    public void setMtvfp(String mtvfp) {
        this.mtvfp = mtvfp;
    }

    @Basic
    @Column(name = "PRERF", nullable = true, length = 1)
    public String getPrerf() {
        return prerf;
    }

    public void setPrerf(String prerf) {
        this.prerf = prerf;
    }

    @Basic
    @Column(name = "RBZUL", nullable = true, length = 1)
    public String getRbzul() {
        return rbzul;
    }

    public void setRbzul(String rbzul) {
        this.rbzul = rbzul;
    }

    @Basic
    @Column(name = "KWDHT", nullable = true, length = 1)
    public String getKwdht() {
        return kwdht;
    }

    public void setKwdht(String kwdht) {
        this.kwdht = kwdht;
    }

    @Basic
    @Column(name = "LIFNR_ZY", nullable = true, length = 1)
    public String getLifnrZy() {
        return lifnrZy;
    }

    public void setLifnrZy(String lifnrZy) {
        this.lifnrZy = lifnrZy;
    }

    @Basic
    @Column(name = "SCAGR", nullable = true, length = 4)
    public String getScagr() {
        return scagr;
    }

    public void setScagr(String scagr) {
        this.scagr = scagr;
    }

    @Basic
    @Column(name = "ZZTJJ", nullable = true, length = 1)
    public String getZztjj() {
        return zztjj;
    }

    public void setZztjj(String zztjj) {
        this.zztjj = zztjj;
    }

    @Basic
    @Column(name = "ZZSFCS", nullable = true, length = 1)
    public String getZzsfcs() {
        return zzsfcs;
    }

    public void setZzsfcs(String zzsfcs) {
        this.zzsfcs = zzsfcs;
    }

    @Basic
    @Column(name = "AL_BOM_MATNR", nullable = true, length = 18)
    public String getAlBomMatnr() {
        return alBomMatnr;
    }

    public void setAlBomMatnr(String alBomMatnr) {
        this.alBomMatnr = alBomMatnr;
    }

    @Basic
    @Column(name = "AL_BOM_QUANT", nullable = true, length = 18)
    public String getAlBomQuant() {
        return alBomQuant;
    }

    public void setAlBomQuant(String alBomQuant) {
        this.alBomQuant = alBomQuant;
    }

    @Basic
    @Column(name = "AL_BOM_UNIT", nullable = true, length = 3)
    public String getAlBomUnit() {
        return alBomUnit;
    }

    public void setAlBomUnit(String alBomUnit) {
        this.alBomUnit = alBomUnit;
    }

    @Basic
    @Column(name = "DSTATUS", nullable = true, length = 1)
    public String getDstatus() {
        return dstatus;
    }

    public void setDstatus(String dstatus) {
        this.dstatus = dstatus;
    }

    @Basic
    @Column(name = "DDATE", nullable = true, length = 14)
    public String getDdate() {
        return ddate;
    }

    public void setDdate(String ddate) {
        this.ddate = ddate;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "NOID", nullable = false, precision = 0)
    public Long getId() {
        return id;
    }

    public void setId(Long noid) {
        this.id = noid;
    }
}
